package com.carlinfo.hospital.service;

import com.carlinfo.hospital.pojo.Doctor_person;
import com.carlinfo.hospital.util.PageInfoUtil;

import java.util.List;
import java.util.Map;

public interface Doctor_personService
{


    /**
     * 保存一条数据
     *
     * @return
     */
    int saveOneDao(Doctor_person doctor_person);

    /**
     * 查询多条数据
     *
     * @param condMap
     * @return
     */
    List<Doctor_person> selectListDao(PageInfoUtil pageInfoUtil, Map<String, Object> condMap);

    /**
     * 查询一条数据
     *
     * @param condMap
     * @return
     */
    Doctor_person selectOneDao(Map<String, Object> condMap);

    /**
     * 更新一条数据
     *
     * @return
     */
    int updateOneDao(Doctor_person doctor_person);

    /*
     *删除一条数据
     */
    int deleteOneDao(Map<String, Object> condMap);


}
